<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>安装完成</title>
    <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #f1f1f1;
            margin: 0;
            padding: 20px 0;
        }

        .install-container {
            background: white;
            max-width: 700px;
            margin: 0 auto;
            padding: 40px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.13);
            text-align: center;
        }

        h1 {
            font-size: 24px;
            margin: 0 0 25px;
            font-weight: 400;
            color: #23282d;
        }

        p {
            line-height: 1.6;
            margin-bottom: 15px;
            color: #444;
        }

        .button {
            background: #007cba;
            border: 1px solid #007cba;
            color: #fff;
            text-decoration: none;
            padding: 12px 24px;
            border-radius: 3px;
            cursor: pointer;
            font-size: 16px;
            display: inline-block;
            line-height: 1.4;
            margin: 10px;
        }

        .button:hover {
            background: #005a87;
            border-color: #005a87;
            color: #fff;
        }

        .button-success {
            background: #46b450;
            border-color: #46b450;
        }

        .button-success:hover {
            background: #3e9b47;
            border-color: #3e9b47;
        }

        .notice {
            background: #fff;
            border-left: 4px solid #46b450;
            box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
            margin: 20px 0;
            padding: 12px;
            text-align: left;
        }

        .notice p {
            margin: 0.5em 0;
            padding: 2px;
        }

        .notice ul {
            margin: 10px 0;
        }
    </style>
</head>
<body>
    <div class="install-container">
        <h1>成功！</h1>
        <p>骑士CMS已经安装完成。感谢您的使用，祝您使用愉快！</p>

        <div class="notice">
            <p><strong>安全提示：</strong></p>
            <ul>
                <li>为了系统安全，建议删除 <code>mysql.sql</code> 文件</li>
                <li>请妥善保管您的管理员账户信息</li>
                <li>如需重新安装，请删除 <code>.lock</code> 文件</li>
            </ul>
        </div>

        <p>
            <a href="/" class="button">访问首页</a>
            <a href="{$admin_url|default='/admin/login'}" class="button button-success">进入后台管理</a>
        </p>

    </div>
</body>
</html>
